package com.chaos.auth.mapper;

import com.chaos.auth.entity.RbacUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 *
 * @author Jacky.Cui
 * @since 2024-11-13
 */
public interface RbacUserRoleMapper extends BaseMapper<RbacUserRole> {

    Set<Long> selectRolesByUserId(@Param("userId") Long userId);
}
